//
//  ActivityIndicatorView.swift
//  PokeMaster
//
//  Created by 李腾芳 on 2022/1/12.
//  Copyright © 2022 OneV's Den. All rights reserved.
//

import Foundation
import SwiftUI

struct ActivityIndicatorView: UIViewRepresentable {
    func updateUIView(_ uiView: UIViewType, context: Context) {
        
    }
    
    func makeUIView(context: Context) -> some UIView {
        let view = UIActivityIndicatorView()
        view.startAnimating()
        return view
    }
}

struct ActivityIndicatorView_Previews: PreviewProvider {
    static var previews: some View {
        ActivityIndicatorView()
    }
}
